projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2827cd4
)
gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one
author
Javier Jardón
<jjardon@gnome.org>
Mon, 19 Dec 2011 13:39:54 +0000
(13:39 +0000)
committer
Javier Jardón
<jjardon@gnome.org>
Tue, 20 Dec 2011 18:32:15 +0000
(18:32 +0000)
gtk/gtktrayicon-x11.c
patch
|
blob
|
history
diff --git
a/gtk/gtktrayicon-x11.c
b/gtk/gtktrayicon-x11.c
index fdc055b6f3a5e8af927e5804731d26451176f4d2..b20027a91c2ac71280b9be546a2e93a77013b93b 100644
(file)
--- a/
gtk/gtktrayicon-x11.c
+++ b/
gtk/gtktrayicon-x11.c
@@
-961,8
+961,8
@@
gtk_tray_icon_realize (GtkWidget *widget)
if (icon->priv->manager_visual_rgba)
{
/* Set a transparent background */
- Gdk
Color transparent = { 0, 0, 0, 0 }; /* Only pixel=0 matters */
- gdk_window_set_background (window, &transparent);
+ Gdk
RGBA transparent = { 0.0, 0.0, 0.0, 0.0 };
+ gdk_window_set_background
_rgba
(window, &transparent);
}
else
{